MV_CC_PIXEL_CONVERT_PARAM

MV_CC_PIXEL_CONVERT_PARAM

Structure about image conversion parameters

Structure Definition

struct{  
  unsigned short          nWidth;
  unsigned short          nHeight;
  MvGvspPixelType         enSrcPixelType;
  unsigned char           *pSrcData;
  unsigned int            nSrcDataLen;
  MvGvspPixelType         enDstPixelType;
  unsigned char           *pDstBuffer;
  unsigned int            nDstLen;
  unsigned int            nDstBufferSize;
  unsigned int            nRes[4];
}MV_CC_PIXEL_CONVERT_PARAM;

Members

nWidth

Image width

nHeight

Image Height

enSrcPixelType

Source pixel format, see the enumeration type MvGvspPixelType for details.

pSrcData

Original image data

nSrcDataLen

Length of original image data

enDstPixelType

Target pixel format, see the enumeration type MvGvspPixelType for details.

pDstBuffer

Outputted data buffer, used to save the converted target data.

nDstLen

Converted target data length

nDstBufferSize

Outputted data buffer size

nRes

Reserved.

Remarks

The supported inputted and outputted pixel formats after conversion are shown below:

Related API

MV_CC_ConvertPixelType

MV_CC_PIXEL_CONVERT_PARAM

Structure about image conversion parameters

Structure Definition

struct{  
  unsigned short          nWidth;
  unsigned short          nHeight;
  MvGvspPixelType         enSrcPixelType;
  unsigned char           *pSrcData;
  unsigned int            nSrcDataLen;
  MvGvspPixelType         enDstPixelType;
  unsigned char           *pDstBuffer;
  unsigned int            nDstLen;
  unsigned int            nDstBufferSize;
  unsigned int            nRes[4];
}MV_CC_PIXEL_CONVERT_PARAM;

Members

nWidth

Image width

nHeight

Image Height

enSrcPixelType

Source pixel format, see the enumeration type MvGvspPixelType for details.

pSrcData

Original image data

nSrcDataLen

Length of original image data

enDstPixelType

Target pixel format, see the enumeration type MvGvspPixelType for details.

pDstBuffer

Outputted data buffer, used to save the converted target data.

nDstLen

Converted target data length

nDstBufferSize

Outputted data buffer size

nRes

Reserved.

Remarks

The supported inputted and outputted pixel formats after conversion are shown below:

Related API

MV_CC_ConvertPixelType